package DesignPattern.abstractFactory;

/**
 * @Author self
 * @Date 2025/7/13 14:46
 * @Describe
 */
// Mac 工厂
public class MacFactory implements GUIFactory {
    @Override
    public Button createButton() {
        return new MacButton();
    }

    @Override
    public ScrollBar createScrollBar() {
        return new MacScrollBar();
    }
}
